package org.hxyjs.propbean;


import org.hxyjs.factory.YamlAndPropertySourceFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "hx.picture")
@PropertySource(factory = YamlAndPropertySourceFactory.class,value = {"classpath:upload.yml"})
public class UpLoadPropBean {
    public  String upload;
    public  String mapping;

    public  String getUpload() {
        return upload;
    }

    public  void setUpload(String upload) {
        this.upload = upload;
    }

    public  String getMapping() {
        return mapping;
    }

    public  void setMapping(String mapping) {
        this.mapping = mapping;
    }




}
